package com.usian.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.TbAdminDto;
import com.usian.model.admin.pojos.TbAdmin;
import com.usian.model.common.dtos.ResponseResult;


public interface TbAdminService extends IService<TbAdmin> {
    /**
     * 查询
     * @param tbAdmin
     * @return
     */
    ResponseResult select(TbAdminDto tbAdmin);

    /**
     * 修改禁用状态
     * @param tbAdmin
     * @return
     */
    ResponseResult uptone(TbAdmin tbAdmin);

    /**
     * 修改启用状态
     * @param tbAdmin
     * @return
     */
    ResponseResult upttwo(TbAdmin tbAdmin);



    /**
     * 增加
     * @param tbAdmin
     * @return
     */
    ResponseResult ist(TbAdmin tbAdmin);

}
